package com.lam.dormitory.mapper;

import com.lam.dormitory.entity.Repair;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lam.dormitory.vo.RepairVo;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lam
 * @since 2019-12-26
 */
public interface RepairMapper extends BaseMapper<Repair> {

    /**
     * 根据DorId查找RepairVo
     * @param dorId
     * @return
     */
    List<RepairVo> selectRepairVoByDorId(Long dorId);

    /**
     * 根据查找RepairVo
     * @return
     */
    List<RepairVo> selectRepairVo(Repair repair);
}
